init: fix build with older gcc
authorJan Beulich <jbeulich@suse.com>
Fri, 24 Jun 2016 09:50:07 +0000 (11:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Jun 2016 09:50:07 +0000 (11:50 +0200)
commit8384dc2d95538c5910d98db3df3ff5448bf0af48
tree4cac53e1f8904dbb156272201bc497e2fefddb42
parent8ab94536d592393e053dc4a7acf84163054c2965
init: fix build with older gcc

__setup_str is used on arrays of char, so there aren't any relocatable
items. Hence __initconst has to be used here, not __initconstrel.

Whatever led to the revert of commit 59b151d2c0 (the original version
of a6066af5b1 "xen/init: Annotate all command line parameter
infrastructure as const" must have got addressed meanwhile - with the
patch here I can't see that old gcc (4.3ish) report a section type
conflict anymore.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/xen/init.h